package vamp_serviceweb

class GPSLocation {
    /**
     * Localisation GPS
     */

    double latitude;
    double longitude;
    int degree;
    int minute;
    int sec;
    //Relation 0:1
    Address address

    static constraints = {
        latitude(nullable : false)
        longitude(nullable : false)
        degree(nullable : false)
        minute(nullable : false)
        sec(nullable : false)
        address(nullable: true)
    }

    static belongsTo = [address:Address]
}
